import request from "../utils/request";
export const getMenusApi = (username) =>{
    return request(`/menu/${username}`,{
        method:'get'
    })
}
export const getAllMenusApi = ()=>{
    return request('/menu',{
        method:'get'
    })
}